﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ObviousCode.Aspect.PluginLibrary.Interfaces;

namespace ObviousCode.UI.Aspect.Events
{
    public class SurfaceObjectKeyRequestedEventArgs : EventArgs
    {
        public IAspectItem ForItem { get; private set; }
        public string Key { get; set; }
        public bool KeyFound { get { return Key != null; } }

        public SurfaceObjectKeyRequestedEventArgs(IAspectItem forItem)
        {
            ForItem = forItem;
        }
    }
}
